package com.wanmait.translate.administration.mapper;

import com.wanmait.translate.pojo.AdministrationHotel;

import java.util.List;

public interface AdministrationHotelMapper {
    List<AdministrationHotel> ListAll();

    AdministrationHotel getAdministrationHotelById(Integer id);

    List<AdministrationHotel> ListAllByName(String name);

    List<AdministrationHotel> listAllByHotel();

    List<AdministrationHotel> listAllByNotHotel();

    int deleteByPrimaryKey(Integer id);

    int insert(AdministrationHotel record);

    int insertSelective(AdministrationHotel record);

    AdministrationHotel selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(AdministrationHotel record);

    int updateByPrimaryKey(AdministrationHotel record);
}